export interface LoginParams {
    username: string
    password: string
    rememberMe: boolean
  }

export interface Response<T> {
  code: number
  message: string
  data: T
} 

export interface PageData<T> {
  currentPage: number
  size: number
  count: number
  records: T[]
}

export const defaultResponse: Response<any> = {
  code: 500,
  message: "请求失败",
  data: null
}

export const defaultPageData: PageData<any> = {
  currentPage: 1,
  size: 10,
  count: 0,
  records: []
}


